package com.rftennis.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.rftennis.ao.OrderAo;

import com.rftennis.dto.QueryResult;
import com.rftennis.entity.OrderEntity;

public interface OrderService {
	
	/**
	 *  管理员通过模糊分页查看所有订单信息
	 * @param key 
	 * @throws Exception
	 */
	QueryResult<OrderEntity> selectKeyOrder(String key, int pageNo, int pageSize)throws Exception;
	

	/**
	 *  管理员通过模糊分页查看某人所有订单信息
	 * @param key 
	 * @throws Exception
	 */
	QueryResult<OrderEntity> selectIdKeyOrder(String customerId,String key, int pageNo, int pageSize)throws Exception;
}
